package com.css.apps.base.user.action.relate;

import com.css.apps.base.user.action.UserAction;
import com.css.apps.base.user.model.UserRelateGroup;
import com.css.db.query.QueryCache;
import com.css.db.util.StringHelper;
import com.opensymphony.xwork.Action;

@SuppressWarnings("serial")
public class GetUserRelateGroup extends UserAction {
	
	private String uuid;
	private UserRelateGroup item;

	@Override
	protected String userGo() {
		if (StringHelper.isNotEmpty(uuid))
			item = QueryCache.get(UserRelateGroup.class, uuid);
		return Action.SUCCESS;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public UserRelateGroup getItem() {
		return item;
	}

	public void setItem(UserRelateGroup item) {
		this.item = item;
	}

}
